Skip to content

Teleport imports #512#836

Draft
perkee wants to merge 2 commits intoavh4:mainfrom
perkee:teleport-imports
Draft

Teleport imports #512#836
perkee wants to merge 2 commits intoavh4:mainfrom
perkee:teleport-imports

Conversation

@perkee
Copy link
Contributor

@perkee perkee commented Feb 23, 2026

Solve issue #512. 100% AI written and I 100% understand if this goes nowhere. Making this binary my main driver for the next little while and if I like it, I'll take this out of draft.

  • First commit is getting nix to work on my machine. Probably I'm holding it wrong and this should go Dropped because I had not rebased in far too long. Sorry
  • first commit is the feature, including the plan, using this prompt:

     let's add a feature to elm-format whereby an import statement can appear on any line in a module and it will be moved to the import block. The best way to do this is to add a test wherein some imports appear
    after the top level declarations have started in the file. The test should assert that the output of running elm-format on such a file produces an elm file that compiles with the elm compiler. Create a plan in
    a markdown file including these steps and any intermediate steps, then iterate on the solution and check off the checklist in the markdown file.

  • second commit the plan is deleted

Further commits are creating homebrew and nix packages for installing this as a binary

Builds macOS arm64, Linux x86_64, and Windows x86_64 binaries
via GitHub Actions on tag push. Creates GitHub Release with
artifacts and generates a Homebrew formula.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant